package com.mt.x.exception;

import org.springframework.boot.diagnostics.FailureAnalysis;
import org.springframework.boot.diagnostics.FailureAnalyzer;

/**
 * 自定义异常处理
 * @author mutouos.com
 *
 */
public class MyFailureAnalyzer implements FailureAnalyzer{

	@Override
	public FailureAnalysis analyze(Throwable failure) {
		System.out.println("failure");
		return null;
	}

}
